﻿using System;
using System.Text;

namespace EsoLib
{
    public class EsoGeneralExplain
    {
        public string ExplainPerson(DateTime birthDate, string fullName)
        {
            var bdExp = BirthDataExplain.Explain(BirthDataExplain.CountBirthDate(birthDate));
            var nameExp = StringNumerologyExplain.ExplainString(fullName);

            var result = new StringBuilder();
            result.AppendFormat("{0}\r\nNumber: {1}\r\n\r\n", fullName, bdExp);
            result.AppendFormat("Name explanation: \r\n{0}", nameExp);
            return result.ToString();
        }
    }
}
